import auth from '../api/auth';
import contest from '../api/contest';
import ai from '../api/ai';
import user from '../api/user';
import statistics from '../api/statistics';

import notify from '@/api/notify';

// 注入所有 api 模块到 Vue 实例
export default {
    install(app) {
        app.config.globalProperties.$api = {
            auth,
            contest,
            ai,
            user,
            statistics,
            notify
        };
    }
};
